package com.edu.bean;

import java.util.Date;

/**
 * @Author:mx
 * @Date:2025/10/17-8:50:29
 */
public class Order {

    private Integer orderId;

    private String proName;

    private String proType;

    private Double proPrice;

    private Date orderTime;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProType() {
        return proType;
    }

    public void setProType(String proType) {
        this.proType = proType;
    }

    public Double getProPrice() {
        return proPrice;
    }

    public void setProPrice(Double proPrice) {
        this.proPrice = proPrice;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Order() {
    }

    public Order(String proName, String proType, double proPrice, Date orderTime) {
        this.proName = proName;
        this.proType = proType;
        this.proPrice = proPrice;
        this.orderTime = orderTime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", proName='" + proName + '\'' +
                ", proType='" + proType + '\'' +
                ", proPrice=" + proPrice +
                ", orderTime=" + orderTime +
                '}';
    }
}
